@extends('admin.pop_edit')
@section('body')
    <form id="systemUserAddForm" action="{{admin_url($baseRoute.'save')}}" class="layui-form model-form">
        <div class="layui-form-item">
            <label class="layui-form-label layui-form-required">上级病种:</label>
            <div class="layui-input-block">
                <x-ca.disease name="pid" show-all="顶级"></x-ca.disease>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label layui-form-required">病种名称:</label>
            <div class="layui-input-block">
                <input type="text" name="name" placeholder="请输入名称" class="layui-input"
                       lay-verType="tips" lay-verify="required" required/>
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label layui-form-required">权重:</label>
            <div class="layui-input-block">
                <input type="text" name="weight" value="99" placeholder="请输入权重（值越大排序越前）" class="layui-input"
                       lay-verType="tips" lay-verify="required" required/>
            </div>
        </div>
        <div class="layui-form-item text-right">
            <button class="layui-btn" lay-filter="ajaxForm" lay-submit>@lang('common.save')</button>
            <button class="layui-btn layui-btn-primary" type="button"
                    ew-event="closeDialog">@lang('common.cancel')</button>
        </div>
    </form>
@stop
